﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="CRMSalesManagement.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link href="Styles/Login.css" rel="stylesheet" type="text/css" />
    <title></title>
</head>
<body>
<center>
    <form id="form1" runat="server">
    <div class="content">
     <div class="top"></div>
    
    <%-- <table cellpadding="4" cellspacing="0" style="border-collapse: collapse;">
                <tr>
                    <td>--%>
                        <table cellpadding="0" style="height: 175px; width: 340px;">
                            <tr>
                                <td align="center" colspan="2">
                                    登录
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 69px">
                                    <asp:Label ID="UserNameLabel" runat="server" Text="用户名:" />
                                </td>
                                <td>
                                    <asp:TextBox ID="UserName" runat="server" MaxLength="10" Width="150px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                        ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" ValidationGroup="lgLogin" ForeColor="Red">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 69px">
                                    <asp:Label ID="PasswordLabel" runat="server" Text="密码:" />
                                </td>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" MaxLength="10" TextMode="Password" Width="150px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                        ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" ValidationGroup="lgLogin" ForeColor="Red">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2" style="color: Red;">
                                    <asp:Label ID="errorMessage" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 69px">
                                    &nbsp;</td>
                                <td align="left">
                                    <asp:Button ID="btnLogin" runat="server" Text="登录" ValidationGroup="lgLogin" 
                                        onclick="btnLogin_Click" Width="40px" />
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<asp:Button 
                                        ID="btnCancel" runat="server" Text="重置" onclick="btnCancel_Click" />
                                </td>
                            </tr>
                        </table>
                        
    </div>
    </form>
    </center>
</body>
</html>
